package com.cion.springCloudZuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
//@EnableZuulServer
@EnableZuulProxy
@EnableDiscoveryClient //zuul本身没有包含服务发现
public class AppZuul {
	public static void main(String[] args) {
		SpringApplication.run(AppZuul.class, args);
	}
}
